SHELL=/bin/sh

PKG_FILE=icecode-test.pc
PKG_TEMP=icecode-test.pc.template

.PHONY: clean

all: $(BUILDDIR)/$(PKG_FILE)

$(BUILDDIR)/$(PKG_FILE): $(PKG_TMP)
	cat $(PKG_TEMP) | sed -e "s!@PREFIX@!$(DESTDIR)!g" -e "s!@LIBS@!$(LIBS)!g" > $(BUILDDIR)/$(PKG_FILE)

clean:
	$(RM) $(BUILDDIR)/$(PKG_FILE)
